/**
 * Cesium指令的行为
 */
export enum CESIUM_ACTION {
	/**
	 * 飞行到
	 */
	FLY_TO = "flyTo",
	/**
	 * 视图切换
	 */
	SET_VIEW = "setView",
	/**
	 * 设置方位
	 */
	SET_ORIENTATION = "setOrientation",
	LOAD_3DTILES = "load3DTiles",
	MEASURE = "measure",
}

export interface CesiumCommand {
	action: "flyTo" | "load3DTiles" | "measure";
	params: {
		position: {
			longitude?: number;
			latitude?: number;
			altitude?: number;
		};
		orientation: {
			heading: number;
			pitch: number;
			roll: number;
		};
		url?: string;
		duration?: number;
	};
}
